package com.gx.rabbit.config;


import com.gx.rabbit.sender.RabbitMqSender;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

/**
 * @author lpj
 */
@Configuration
public class RabbitConfiguration {
    private static final Logger log = LoggerFactory.getLogger(RabbitConfiguration.class);

    public RabbitConfiguration() {
    }

    @Bean
    public RabbitMqSender rabbitMqSender() {
        return new RabbitMqSender();
    }
}
